package com.atguigu.petstore.sys.minio.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lfy
 * @Description 属性文件，就是封装配置文件中和Minio有关的所有配置
 * @create 2023-09-23 9:11
 */
@Component
@Data
@ConfigurationProperties(prefix = "app.minio")
public class MinioProperties {

    private String endpoint;
    private String accessKey;
    private String accessSecret;
    private String bucket;
}
